package com.mrobuy.jdvc.entity;

import com.gavel.annotation.FieldMeta;
import com.gavel.annotation.TableMeta;
import com.gavel.database.SQLExecutor;

@TableMeta(name = "VC_ITEM_PIC", title = "京东SKU商品图片")
public class VCItemPic {

    @FieldMeta(name = "ID", title = "ID", length = 32, primary = true)
    private String id;

    @FieldMeta(name = "WAREID", title = "商品ID", length = 20)
    private String wareId;

    @FieldMeta(name = "SKUID", title = "商品SKU", length = 32)
    private String skuId;

    @FieldMeta(name = "SKUNAME", title = "商品名称", length = 100)
    private String skuName;

    @FieldMeta(name = "TYPE", title = "类型", length = 8)
    private String type;

    @FieldMeta(name = "ISPRIMARY", title = "是否主图")
    private Integer isprimary;

    @FieldMeta(name = "POS", title = "图片位置")
    private Integer pos;

    @FieldMeta(name = "URL", title = "图片URL", length = 1024)
    private String url;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getWareId() {
        return wareId;
    }

    public void setWareId(String wareId) {
        this.wareId = wareId;
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getPos() {
        return pos;
    }

    public void setPos(Integer pos) {
        this.pos = pos;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getIsprimary() {
        return isprimary;
    }

    public void setIsprimary(Integer isprimary) {
        this.isprimary = isprimary;
    }

    public static void main(String[] args) throws Exception {
        SQLExecutor.createTable(VCItemPic.class);
    }

}
